package com.qf.student.service;

import com.qf.student.entity.StudentCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.student.response.R;
import com.qf.student.vo.input.UpdateScoreInputVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-11-21
 */
public interface IStudentCourseService extends IService<StudentCourse> {

    R selectCourse(Integer courseId, Integer userId);

    R getStudentCourse(Integer userId);

    R unselectCourse(Integer userId, Integer courseId);

    R getStudentScore(Integer userId);

    R teacherUpdateScore(UpdateScoreInputVo updateScoreInputVo, Integer userId);

}
